package atguigu.oop;

import java.io.File;
import java.io.InputStream;

public abstract class ReportExportContext {

    private Data data;

    public abstract File buildReport() throws Exception;

    public boolean neadModel(){
        return false;
    }

    public InputStream getModel(){
        return null;
    }



    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }


}
